
public class Championnat {
	
	private int id;
	private String lieu;
	private String datedeb;
	private String datefin;
	
	public Championnat(int id, String lieu, String datedeb, String datefin){
		this.id = id;
		this.lieu = lieu;
		this.datedeb = datedeb;
		this.datefin = datefin;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getLieu() {
		return lieu;
	}

	public void setLieu(String lieu) {
		this.lieu = lieu;
	}

	public String getDatedeb() {
		return datedeb;
	}

	public void setDatedeb(String datedeb) {
		this.datedeb = datedeb;
	}

	public String getDatefin() {
		return datefin;
	}

	public void setDatefin(String datefin) {
		this.datefin = datefin;
	}
	
	public Championnat modifInfo(Championnat champ,int idtf, String lieu, String dated, String datef){
		champ.setId(idtf);
		champ.setLieu(lieu);
		champ.setDatedeb(dated);
		champ.setDatefin(datef);
		return champ;
	}

}
